package com.jmb.apiplatform.service;

import com.jmb.apiplatform.common.PageResult;
import com.jmb.apiplatform.exception.ValidException;
import com.jmb.apiplatform.pojo.RelyData;
import com.jmb.apiplatform.pojo.RelyDataTO;
import com.jmb.apiplatform.pojo.RelyDataVO;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author jinmengbo
* @description 针对表【rely_data】的数据库操作Service
* @createDate 2025-02-15 15:17:36
*/
public interface RelyDataService  {
    void saveRelyData(RelyData relyData) throws ValidException;

    void modifyRelyData(RelyData relyData, HttpServletRequest request) throws ValidException;

    RelyDataVO findRelyDataById(Integer id);

    RelyDataVO findRelyDataByName(String name);

    PageResult<RelyDataVO> findRelyDataList(RelyDataTO relyDataTO);

    void removeRelyDataById(Integer id, HttpServletRequest request) throws ValidException;
}
